﻿
package system.data;

import java.util.*;

import framework.core.*;
/*
	Author    :Benny
	CreateTime:2008-05-15 14:22:28
*/
public class WarehouseProductViewBase extends Table 
{
public static final String TABLE_NAME = "WAREHOUSE_PRODUCT_VIEW";

private static final String BACKUP_TABLE_NAME = "WAREHOUSE_PRODUCT_VIEW_BACKUP";

private static final String BACKUP_SEQ_NAME = "S_WAREHOUSE_PRODUCT_VIEW_BACKUP";


public static final String ID = "ID";

public static final String WAREHOUSE_CODE = "WAREHOUSE_CODE";

public static final String WAREHOUSE_NAME = "WAREHOUSE_NAME";

public static final String POSITION_CODE = "POSITION_CODE";

public static final String POSITION_NAME = "POSITION_NAME";

public static final String PRODUCT_ID = "PRODUCT_ID";

public static final String PRODUCT_CODE = "PRODUCT_CODE";

public static final String PRODUCT_COUNT = "PRODUCT_COUNT";

public static final String PRODUCT_MONEY = "PRODUCT_MONEY";

public static final String STATUS = "STATUS";

public static final String CREATE_USER_ID = "CREATE_USER_ID";

public static final String CREATE_USER = "CREATE_USER";

public static final String CREATE_TIME = "CREATE_TIME";

public static final String LAST_UPDATE_USER_ID = "LAST_UPDATE_USER_ID";

public static final String LAST_UPDATE_USER = "LAST_UPDATE_USER";

public static final String LAST_UPDATE_TIME = "LAST_UPDATE_TIME";

public static final String IS_SYNC = "IS_SYNC";

public static final String BALANCE_MODE = "BALANCE_MODE";

public static final String KEEPER_STAFF_ID = "KEEPER_STAFF_ID";


public static Vector m_fields = null;


private String m_id = ""; //ID

private String m_warehouse_code = ""; //WAREHOUSE_CODE

private String m_warehouse_name = ""; //WAREHOUSE_NAME

private String m_position_code = ""; //POSITION_CODE

private String m_position_name = ""; //POSITION_NAME

private String m_product_id = ""; //PRODUCT_ID

private String m_product_code = ""; //PRODUCT_CODE

private double m_product_count = Value.NULL_DOUBLE; //PRODUCT_COUNT

private double m_product_money = Value.NULL_DOUBLE; //PRODUCT_MONEY

private String m_status = ""; //STATUS

private String m_create_user_id = ""; //CREATE_USER_ID

private String m_create_user = ""; //CREATE_USER

private String m_create_time = ""; //CREATE_TIME

private String m_last_update_user_id = ""; //LAST_UPDATE_USER_ID

private String m_last_update_user = ""; //LAST_UPDATE_USER

private String m_last_update_time = ""; //LAST_UPDATE_TIME

private String m_is_sync = ""; //IS_SYNC

private String m_balance_mode = ""; //BALANCE_MODE

private String m_keeper_staff_id = ""; //KEEPER_STAFF_ID



	public String getId()
	{
	    return m_id;
	}
	public void  setId(String v)
	{
		if(getId().equals(v)) return ;
		m_id = v ;
		markDirty(ID);
	}



	

	public String getWarehouseCode()
	{
	    return m_warehouse_code;
	}
	public void  setWarehouseCode(String v)
	{
		if(getWarehouseCode().equals(v)) return ;
		m_warehouse_code = v ;
		markDirty(WAREHOUSE_CODE);
	}



	

	public String getWarehouseName()
	{
	    return m_warehouse_name;
	}
	public void  setWarehouseName(String v)
	{
		if(getWarehouseName().equals(v)) return ;
		m_warehouse_name = v ;
		markDirty(WAREHOUSE_NAME);
	}



	

	public String getPositionCode()
	{
	    return m_position_code;
	}
	public void  setPositionCode(String v)
	{
		if(getPositionCode().equals(v)) return ;
		m_position_code = v ;
		markDirty(POSITION_CODE);
	}



	

	public String getPositionName()
	{
	    return m_position_name;
	}
	public void  setPositionName(String v)
	{
		if(getPositionName().equals(v)) return ;
		m_position_name = v ;
		markDirty(POSITION_NAME);
	}



	

	public String getProductId()
	{
	    return m_product_id;
	}
	public void  setProductId(String v)
	{
		if(getProductId().equals(v)) return ;
		m_product_id = v ;
		markDirty(PRODUCT_ID);
	}



	

	public String getProductCode()
	{
	    return m_product_code;
	}
	public void  setProductCode(String v)
	{
		if(getProductCode().equals(v)) return ;
		m_product_code = v ;
		markDirty(PRODUCT_CODE);
	}



	

	public double getProductCount()
	{
	    return m_product_count;
	}
	public void  setProductCount(double v)
	{
		if(getProductCount()==v) return ;
		m_product_count = v ;
		markDirty(PRODUCT_COUNT);
	}



	

	public double getProductMoney()
	{
	    return m_product_money;
	}
	public void  setProductMoney(double v)
	{
		if(getProductMoney()==v) return ;
		m_product_money = v ;
		markDirty(PRODUCT_MONEY);
	}



	

	public String getStatus()
	{
	    return m_status;
	}
	public void  setStatus(String v)
	{
		if(getStatus().equals(v)) return ;
		m_status = v ;
		markDirty(STATUS);
	}



	

	public String getCreateUserId()
	{
	    return m_create_user_id;
	}
	public void  setCreateUserId(String v)
	{
		if(getCreateUserId().equals(v)) return ;
		m_create_user_id = v ;
		markDirty(CREATE_USER_ID);
	}



	

	public String getCreateUser()
	{
	    return m_create_user;
	}
	public void  setCreateUser(String v)
	{
		if(getCreateUser().equals(v)) return ;
		m_create_user = v ;
		markDirty(CREATE_USER);
	}



	

	public String getCreateTime()
	{
	    return m_create_time;
	}
	public void  setCreateTime(String v)
	{
		if(getCreateTime().equals(v)) return ;
		m_create_time = v ;
		markDirty(CREATE_TIME);
	}



	

	public String getLastUpdateUserId()
	{
	    return m_last_update_user_id;
	}
	public void  setLastUpdateUserId(String v)
	{
		if(getLastUpdateUserId().equals(v)) return ;
		m_last_update_user_id = v ;
		markDirty(LAST_UPDATE_USER_ID);
	}



	

	public String getLastUpdateUser()
	{
	    return m_last_update_user;
	}
	public void  setLastUpdateUser(String v)
	{
		if(getLastUpdateUser().equals(v)) return ;
		m_last_update_user = v ;
		markDirty(LAST_UPDATE_USER);
	}



	

	public String getLastUpdateTime()
	{
	    return m_last_update_time;
	}
	public void  setLastUpdateTime(String v)
	{
		if(getLastUpdateTime().equals(v)) return ;
		m_last_update_time = v ;
		markDirty(LAST_UPDATE_TIME);
	}



	

	public String getIsSync()
	{
	    return m_is_sync;
	}
	public void  setIsSync(String v)
	{
		if(getIsSync().equals(v)) return ;
		m_is_sync = v ;
		markDirty(IS_SYNC);
	}



	

	public String getBalanceMode()
	{
	    return m_balance_mode;
	}
	public void  setBalanceMode(String v)
	{
		if(getBalanceMode().equals(v)) return ;
		m_balance_mode = v ;
		markDirty(BALANCE_MODE);
	}



	

	public String getKeeperStaffId()
	{
	    return m_keeper_staff_id;
	}
	public void  setKeeperStaffId(String v)
	{
		if(getKeeperStaffId().equals(v)) return ;
		m_keeper_staff_id = v ;
		markDirty(KEEPER_STAFF_ID);
	}



	



	public String viewId(DBConnection con) throws Exception
	{
		return Value.view(getId());
	}

	public String viewWarehouseCode(DBConnection con) throws Exception
	{
		return Value.view(getWarehouseCode());
	}

	public String viewWarehouseName(DBConnection con) throws Exception
	{
		return Value.view(getWarehouseName());
	}

	public String viewPositionCode(DBConnection con) throws Exception
	{
		return Value.view(getPositionCode());
	}

	public String viewPositionName(DBConnection con) throws Exception
	{
		return Value.view(getPositionName());
	}

	public String viewProductId(DBConnection con) throws Exception
	{
		return Value.view(getProductId());
	}

	public String viewProductCode(DBConnection con) throws Exception
	{
		return Value.view(getProductCode());
	}

	public String viewProductCount(DBConnection con) throws Exception
	{
		return Value.view(getProductCount());
	}

	public String viewProductMoney(DBConnection con) throws Exception
	{
		return Value.view(getProductMoney());
	}

	public String viewStatus(DBConnection con) throws Exception
	{
		return Value.view(getStatus());
	}

	public String viewCreateUserId(DBConnection con) throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser(DBConnection con) throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime(DBConnection con) throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateTime());
	}

	public String viewIsSync(DBConnection con) throws Exception
	{
		return Value.view(getIsSync());
	}

	public String viewBalanceMode(DBConnection con) throws Exception
	{
		return Value.view(getBalanceMode());
	}

	public String viewKeeperStaffId(DBConnection con) throws Exception
	{
		return Value.view(getKeeperStaffId());
	}



protected WarehouseProductViewBase()
{
}

public void fill(WarehouseProductViewPageData pageData) throws Exception
{

	if(pageData.getId()!=null)
	{	
		setId(pageData.getId());
	}

	if(pageData.getWarehouseCode()!=null)
	{	
		setWarehouseCode(pageData.getWarehouseCode());
	}

	if(pageData.getWarehouseName()!=null)
	{	
		setWarehouseName(pageData.getWarehouseName());
	}

	if(pageData.getPositionCode()!=null)
	{	
		setPositionCode(pageData.getPositionCode());
	}

	if(pageData.getPositionName()!=null)
	{	
		setPositionName(pageData.getPositionName());
	}

	if(pageData.getProductId()!=null)
	{	
		setProductId(pageData.getProductId());
	}

	if(pageData.getProductCode()!=null)
	{	
		setProductCode(pageData.getProductCode());
	}

	if( pageData.getProductCount()!=null && 
	   !pageData.getProductCount().equals(""))
	{	
		setProductCount(Double.parseDouble(pageData.getProductCount()));
	}

	if( pageData.getProductMoney()!=null && 
	   !pageData.getProductMoney().equals(""))
	{	
		setProductMoney(Double.parseDouble(pageData.getProductMoney()));
	}

	if(pageData.getStatus()!=null)
	{	
		setStatus(pageData.getStatus());
	}

	if(pageData.getCreateUserId()!=null)
	{	
		setCreateUserId(pageData.getCreateUserId());
	}

	if(pageData.getCreateUser()!=null)
	{	
		setCreateUser(pageData.getCreateUser());
	}

	if(pageData.getCreateTime()!=null)
	{	
		setCreateTime(pageData.getCreateTime());
	}

	if(pageData.getLastUpdateUserId()!=null)
	{	
		setLastUpdateUserId(pageData.getLastUpdateUserId());
	}

	if(pageData.getLastUpdateUser()!=null)
	{	
		setLastUpdateUser(pageData.getLastUpdateUser());
	}

	if(pageData.getLastUpdateTime()!=null)
	{	
		setLastUpdateTime(pageData.getLastUpdateTime());
	}

	if(pageData.getIsSync()!=null)
	{	
		setIsSync(pageData.getIsSync());
	}

	if(pageData.getBalanceMode()!=null)
	{	
		setBalanceMode(pageData.getBalanceMode());
	}

	if(pageData.getKeeperStaffId()!=null)
	{	
		setKeeperStaffId(pageData.getKeeperStaffId());
	}

}

public String getTableName() 
{
	return TABLE_NAME;
}

public String getBackupTableName() 
{
	return BACKUP_TABLE_NAME;
}

public String getBackupSeqName() 
{
	return BACKUP_SEQ_NAME;
}

public java.util.Vector getFields() 
{
	if(m_fields==null)
	{
		m_fields = new Vector();

		m_fields.add(new Field(ID,Value.TYPE_STRING,false,true,32,"ID"));

		m_fields.add(new Field(WAREHOUSE_CODE,Value.TYPE_STRING,false,true,30,"WAREHOUSE_CODE"));

		m_fields.add(new Field(WAREHOUSE_NAME,Value.TYPE_STRING,false,false,50,"WAREHOUSE_NAME"));

		m_fields.add(new Field(POSITION_CODE,Value.TYPE_STRING,false,true,30,"POSITION_CODE"));

		m_fields.add(new Field(POSITION_NAME,Value.TYPE_STRING,false,false,50,"POSITION_NAME"));

		m_fields.add(new Field(PRODUCT_ID,Value.TYPE_STRING,false,true,32,"PRODUCT_ID"));

		m_fields.add(new Field(PRODUCT_CODE,Value.TYPE_STRING,false,true,30,"PRODUCT_CODE"));

		m_fields.add(new Field(PRODUCT_COUNT,Value.TYPE_DOUBLE,false,true,0,"PRODUCT_COUNT"));

		m_fields.add(new Field(PRODUCT_MONEY,Value.TYPE_DOUBLE,false,true,0,"PRODUCT_MONEY"));

		m_fields.add(new Field(STATUS,Value.TYPE_STRING,false,true,1,"STATUS"));

		m_fields.add(new Field(CREATE_USER_ID,Value.TYPE_STRING,false,true,32,"CREATE_USER_ID"));

		m_fields.add(new Field(CREATE_USER,Value.TYPE_STRING,false,false,50,"CREATE_USER"));

		m_fields.add(new Field(CREATE_TIME,Value.TYPE_STRING,false,false,20,"CREATE_TIME"));

		m_fields.add(new Field(LAST_UPDATE_USER_ID,Value.TYPE_STRING,false,true,32,"LAST_UPDATE_USER_ID"));

		m_fields.add(new Field(LAST_UPDATE_USER,Value.TYPE_STRING,false,false,50,"LAST_UPDATE_USER"));

		m_fields.add(new Field(LAST_UPDATE_TIME,Value.TYPE_STRING,false,false,20,"LAST_UPDATE_TIME"));

		m_fields.add(new Field(IS_SYNC,Value.TYPE_STRING,false,true,1,"IS_SYNC"));

		m_fields.add(new Field(BALANCE_MODE,Value.TYPE_STRING,false,true,1,"BALANCE_MODE"));

		m_fields.add(new Field(KEEPER_STAFF_ID,Value.TYPE_STRING,false,false,32,"KEEPER_STAFF_ID"));
		
	}
	return m_fields;
}

public void initObject(java.sql.ResultSet rs) throws Exception
{

	m_id = getString(rs,ID);

	m_warehouse_code = getString(rs,WAREHOUSE_CODE);

	m_warehouse_name = getString(rs,WAREHOUSE_NAME);

	m_position_code = getString(rs,POSITION_CODE);

	m_position_name = getString(rs,POSITION_NAME);

	m_product_id = getString(rs,PRODUCT_ID);

	m_product_code = getString(rs,PRODUCT_CODE);

	m_product_count = getDouble(rs,PRODUCT_COUNT);

	m_product_money = getDouble(rs,PRODUCT_MONEY);

	m_status = getString(rs,STATUS);

	m_create_user_id = getString(rs,CREATE_USER_ID);

	m_create_user = getString(rs,CREATE_USER);

	m_create_time = getString(rs,CREATE_TIME);

	m_last_update_user_id = getString(rs,LAST_UPDATE_USER_ID);

	m_last_update_user = getString(rs,LAST_UPDATE_USER);

	m_last_update_time = getString(rs,LAST_UPDATE_TIME);

	m_is_sync = getString(rs,IS_SYNC);

	m_balance_mode = getString(rs,BALANCE_MODE);

	m_keeper_staff_id = getString(rs,KEEPER_STAFF_ID);

	ms_new_flag = ConstDefine.NO;
}

public Value get(String f)
{

	if(f.equalsIgnoreCase(ID))
	{
		return new Value(getId());
	}

	if(f.equalsIgnoreCase(WAREHOUSE_CODE))
	{
		return new Value(getWarehouseCode());
	}

	if(f.equalsIgnoreCase(WAREHOUSE_NAME))
	{
		return new Value(getWarehouseName());
	}

	if(f.equalsIgnoreCase(POSITION_CODE))
	{
		return new Value(getPositionCode());
	}

	if(f.equalsIgnoreCase(POSITION_NAME))
	{
		return new Value(getPositionName());
	}

	if(f.equalsIgnoreCase(PRODUCT_ID))
	{
		return new Value(getProductId());
	}

	if(f.equalsIgnoreCase(PRODUCT_CODE))
	{
		return new Value(getProductCode());
	}

	if(f.equalsIgnoreCase(PRODUCT_COUNT))
	{
		return new Value(getProductCount());
	}

	if(f.equalsIgnoreCase(PRODUCT_MONEY))
	{
		return new Value(getProductMoney());
	}

	if(f.equalsIgnoreCase(STATUS))
	{
		return new Value(getStatus());
	}

	if(f.equalsIgnoreCase(CREATE_USER_ID))
	{
		return new Value(getCreateUserId());
	}

	if(f.equalsIgnoreCase(CREATE_USER))
	{
		return new Value(getCreateUser());
	}

	if(f.equalsIgnoreCase(CREATE_TIME))
	{
		return new Value(getCreateTime());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER_ID))
	{
		return new Value(getLastUpdateUserId());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER))
	{
		return new Value(getLastUpdateUser());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_TIME))
	{
		return new Value(getLastUpdateTime());
	}

	if(f.equalsIgnoreCase(IS_SYNC))
	{
		return new Value(getIsSync());
	}

	if(f.equalsIgnoreCase(BALANCE_MODE))
	{
		return new Value(getBalanceMode());
	}

	if(f.equalsIgnoreCase(KEEPER_STAFF_ID))
	{
		return new Value(getKeeperStaffId());
	}
	
	return null;
}
public void set(String f,Value v) throws Exception
{

	if(f.equalsIgnoreCase(ID))
	{
		setId(v.getString());
	}

	if(f.equalsIgnoreCase(WAREHOUSE_CODE))
	{
		setWarehouseCode(v.getString());
	}

	if(f.equalsIgnoreCase(WAREHOUSE_NAME))
	{
		setWarehouseName(v.getString());
	}

	if(f.equalsIgnoreCase(POSITION_CODE))
	{
		setPositionCode(v.getString());
	}

	if(f.equalsIgnoreCase(POSITION_NAME))
	{
		setPositionName(v.getString());
	}

	if(f.equalsIgnoreCase(PRODUCT_ID))
	{
		setProductId(v.getString());
	}

	if(f.equalsIgnoreCase(PRODUCT_CODE))
	{
		setProductCode(v.getString());
	}

	if(f.equalsIgnoreCase(PRODUCT_COUNT))
	{
		setProductCount(v.getDouble());
	}

	if(f.equalsIgnoreCase(PRODUCT_MONEY))
	{
		setProductMoney(v.getDouble());
	}

	if(f.equalsIgnoreCase(STATUS))
	{
		setStatus(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_USER_ID))
	{
		setCreateUserId(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_USER))
	{
		setCreateUser(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_TIME))
	{
		setCreateTime(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER_ID))
	{
		setLastUpdateUserId(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER))
	{
		setLastUpdateUser(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_TIME))
	{
		setLastUpdateTime(v.getString());
	}

	if(f.equalsIgnoreCase(IS_SYNC))
	{
		setIsSync(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_MODE))
	{
		setBalanceMode(v.getString());
	}

	if(f.equalsIgnoreCase(KEEPER_STAFF_ID))
	{
		setKeeperStaffId(v.getString());
	}
	
}
public String toString()
{
	String msg = "WarehouseProductView=\n";
	msg += "(\r\n";

	msg += "    ID(id)="+get("id")+"\r\n";

	msg += "    WAREHOUSE_CODE(warehouse_code)="+get("warehouse_code")+"\r\n";

	msg += "    WAREHOUSE_NAME(warehouse_name)="+get("warehouse_name")+"\r\n";

	msg += "    POSITION_CODE(position_code)="+get("position_code")+"\r\n";

	msg += "    POSITION_NAME(position_name)="+get("position_name")+"\r\n";

	msg += "    PRODUCT_ID(product_id)="+get("product_id")+"\r\n";

	msg += "    PRODUCT_CODE(product_code)="+get("product_code")+"\r\n";

	msg += "    PRODUCT_COUNT(product_count)="+get("product_count")+"\r\n";

	msg += "    PRODUCT_MONEY(product_money)="+get("product_money")+"\r\n";

	msg += "    STATUS(status)="+get("status")+"\r\n";

	msg += "    CREATE_USER_ID(create_user_id)="+get("create_user_id")+"\r\n";

	msg += "    CREATE_USER(create_user)="+get("create_user")+"\r\n";

	msg += "    CREATE_TIME(create_time)="+get("create_time")+"\r\n";

	msg += "    LAST_UPDATE_USER_ID(last_update_user_id)="+get("last_update_user_id")+"\r\n";

	msg += "    LAST_UPDATE_USER(last_update_user)="+get("last_update_user")+"\r\n";

	msg += "    LAST_UPDATE_TIME(last_update_time)="+get("last_update_time")+"\r\n";

	msg += "    IS_SYNC(is_sync)="+get("is_sync")+"\r\n";

	msg += "    BALANCE_MODE(balance_mode)="+get("balance_mode")+"\r\n";

	msg += "    KEEPER_STAFF_ID(keeper_staff_id)="+get("keeper_staff_id")+"\r\n";
		
	msg += ")\r\n";
	return msg;
}
public void copyBase(WarehouseProductViewBase srcObj)
{

	setId(srcObj.getId());

	setWarehouseCode(srcObj.getWarehouseCode());

	setWarehouseName(srcObj.getWarehouseName());

	setPositionCode(srcObj.getPositionCode());

	setPositionName(srcObj.getPositionName());

	setProductId(srcObj.getProductId());

	setProductCode(srcObj.getProductCode());

	setProductCount(srcObj.getProductCount());

	setProductMoney(srcObj.getProductMoney());

	setStatus(srcObj.getStatus());

	setCreateUserId(srcObj.getCreateUserId());

	setCreateUser(srcObj.getCreateUser());

	setCreateTime(srcObj.getCreateTime());

	setLastUpdateUserId(srcObj.getLastUpdateUserId());

	setLastUpdateUser(srcObj.getLastUpdateUser());

	setLastUpdateTime(srcObj.getLastUpdateTime());

	setIsSync(srcObj.getIsSync());

	setBalanceMode(srcObj.getBalanceMode());

	setKeeperStaffId(srcObj.getKeeperStaffId());

}

public String toXml() throws Exception
{
	String xml = "";
	xml += "<WarehouseProductView>";

	xml += "<Id>"+Value.view(getId())+"</Id>";

	xml += "<WarehouseCode>"+Value.view(getWarehouseCode())+"</WarehouseCode>";

	xml += "<WarehouseName>"+Value.view(getWarehouseName())+"</WarehouseName>";

	xml += "<PositionCode>"+Value.view(getPositionCode())+"</PositionCode>";

	xml += "<PositionName>"+Value.view(getPositionName())+"</PositionName>";

	xml += "<ProductId>"+Value.view(getProductId())+"</ProductId>";

	xml += "<ProductCode>"+Value.view(getProductCode())+"</ProductCode>";

	xml += "<ProductCount>"+Value.view(getProductCount())+"</ProductCount>";

	xml += "<ProductMoney>"+Value.view(getProductMoney())+"</ProductMoney>";

	xml += "<Status>"+Value.view(getStatus())+"</Status>";

	xml += "<CreateUserId>"+Value.view(getCreateUserId())+"</CreateUserId>";

	xml += "<CreateUser>"+Value.view(getCreateUser())+"</CreateUser>";

	xml += "<CreateTime>"+Value.view(getCreateTime())+"</CreateTime>";

	xml += "<LastUpdateUserId>"+Value.view(getLastUpdateUserId())+"</LastUpdateUserId>";

	xml += "<LastUpdateUser>"+Value.view(getLastUpdateUser())+"</LastUpdateUser>";

	xml += "<LastUpdateTime>"+Value.view(getLastUpdateTime())+"</LastUpdateTime>";

	xml += "<IsSync>"+Value.view(getIsSync())+"</IsSync>";

	xml += "<BalanceMode>"+Value.view(getBalanceMode())+"</BalanceMode>";

	xml += "<KeeperStaffId>"+Value.view(getKeeperStaffId())+"</KeeperStaffId>";
	
	xml += "</WarehouseProductView>";
	return xml;
}

}
